package com.kehutong.wxapi.request;

import org.coraframework.json.annotation.JSONField;

import java.util.List;

/**
 * 分配离职成员的客户请求对象
 * @author: liukunlong
 * @date: 2021-03-04 20:55
 */
public class ResignedTransferCustomerRequest {
    /**
     * 调用接口凭证
     */
    private String accessToken;
    /**
     * 原跟进成员的userid
     */ /**
     * handover_userid : zhangsan
     * takeover_userid : lisi
     * external_userid : ["woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB","woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA"]
     */

    @JSONField(name = "handover_userid")
    private String handoverUserid;
    /**
     * 接替成员的userid
     */
    @JSONField(name = "takeover_userid")
    private String takeoverUserid;
    /**
     * 客户的external_userid列表，如果不填则表示分配此跟进成员的所有客户
     */
    @JSONField(name = "external_userid")
    private List<String> externalUserid;


    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }


    public String getHandoverUserid() {
        return handoverUserid;
    }

    public void setHandoverUserid(String handoverUserid) {
        this.handoverUserid = handoverUserid;
    }

    public String getTakeoverUserid() {
        return takeoverUserid;
    }

    public void setTakeoverUserid(String takeoverUserid) {
        this.takeoverUserid = takeoverUserid;
    }

    public List<String> getExternalUserid() {
        return externalUserid;
    }

    public void setExternalUserid(List<String> externalUserid) {
        this.externalUserid = externalUserid;
    }
}
